
package com.zmks.jkgj.xuexiao.view;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.TableGenerator;

import javax.persistence.Id;
import javax.persistence.Table;


 
@Entity
@Table(name = "grade_class_teacher")
public class Grade_Class_Teacher_View implements Serializable {
	/**
	 * 序列化版本兼容性
	 */
	private static final long serialVersionUID = 1L;

	private Long id;
	private String className;
    private String teacherName;
    private String teacherOid;
    private String gradeOid;
    private String positionOid;
    private String gradeName;
    private String schooloid;
    private String schoolName;

	
	   
	public String getSchooloid() {
		return schooloid;
	}
	public void setSchooloid(String schooloid) {
		this.schooloid = schooloid;
	}
	public String getSchoolName() {
		return schoolName;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	@Id
	@Column(name = "ID")
	@TableGenerator(name = "ID_GENERATOR", // 生成策略名称
	table = "grade_class_teacher_oid_sequence", // 生成的表名
	pkColumnName = "name", // 主键的列名
	pkColumnValue = "grade_class_teacher", // 主键的值
	valueColumnName = "value", // 生成的值 列名
	initialValue = 1, // 主键初识值
	allocationSize = 1 // 主键每次增加的大小
	)
	@GeneratedValue(strategy = GenerationType.TABLE, // 指定主键生成策略
	generator = "ID_GENERATOR")
    public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	public String getGradeName() {
		return gradeName;
	}
	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}
	public String getGradeOid() {
		return gradeOid;
	}
	public void setGradeOid(String gradeOid) {
		this.gradeOid = gradeOid;
	}
	public String getTeacherOid() {
		return teacherOid;
	}
	public void setTeacherOid(String teacherOid) {
		this.teacherOid = teacherOid;
	}
	public String getPositionOid() {
		return positionOid;
	}
	public void setPositionOid(String positionOid) {
		this.positionOid = positionOid;
	}

}
